package com.oneandseven.dajia.base.response;

import lombok.Data;

@Data
public class BaseResponse<T> {
    private final static  int succes = 200;

    public BaseResponse(T data) {
        this.code = succes;
        this.data = data;
        this.msg = "";
    }



    private int code;

    private String msg;

    private T data;
}
